package de.tabuma.soap.entity.xsd;

import java.util.*;
import java.io.*;
import javax.jdo.annotations.*;

import de.tabuma.soap.annotation.*;

/**
 * This class represents an element of an wsdl document called &quot;redefine&quot;.
 * @author $Author: alefen $
 * @version $Revision: 1.1 $
 * @since $Date: 2009/12/30 02:57:12 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@SoapClassDefinition(@SoapClassMapping(mappingString="redefine",mappingType=SoapClassMapping.MappingType.XSD))
public class XsRedefine implements Serializable {

    public XsRedefine() {
        this.xsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup = new ArrayList<Long>();
    }

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id1;
    public Long getId1() {
        return id1;
    }

    @Persistent
    @SoapAttribute
    protected String schemaLocation;
    public String getSchemaLocation() {
        return schemaLocation;
    }
    public void setSchemaLocation(String value) {
        this.schemaLocation = value;
    }

    @Persistent
    @SoapAttribute
    protected String id;
    public String getId() {
        return id;
    }
    public void setId(String value) {
        this.id = value;
    }

    @Persistent
    @SoapFieldDefinition(
        {
            @SoapFieldClass(classDefinition=XsAnnotation.class),
            @SoapFieldClass(classDefinition=XsSimpleType.class),
            @SoapFieldClass(classDefinition=XsComplexType.class),
            @SoapFieldClass(classDefinition=XsAttributeGroup.class),
            @SoapFieldClass(classDefinition=XsGroup.class)
        }
    )
    protected List<Long> xsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup;
    public List<Long> getXsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup() {
        if(this.xsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup == null) {
            this.xsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup = new ArrayList<Long>();
        }
        return this.xsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup;
    }
    public void setXsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup(List<Long> xsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup) {
        this.xsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup = xsAnnotationOrXsSimpleTypeOrXsComplexTypeOrXsAttributeGroupOrXsGroup;
    }


}
